//
//  HotViewcontroller.m
//  YSBEmployer
//
//  Created by developer on 2021/12/05.
//  Copyright © 2021 ysb. All rights reserved.
//

#import "YSBOfflineReleaseViewController.h"

@implementation YSBOfflineReleaseViewController

- (void)clickProfessionalBtnClickAction {
    YSBChooseCareerViewController *vc = [[YSBChooseCareerViewController alloc] init];
    vc.myChooseCareer = self.skill_text;
    vc.cid = [NSString stringWithFormat:@"%ld",self.skill_id];
    vc.myClickBlock = ^(NSString *career,NSString *cid) {//选择后的回调
        self.skill_text = career;
        self.skill_id = cid.integerValue;

        NSIndexPath *indexPath = [NSIndexPath indexPathForRow:1 inSection:2];
        YSBOfflineReleaseProfessionalWorkCell *cell = [self.tableView cellForRowAtIndexPath:indexPath];
        [cell resetProfessionalWorkName:self.skill_text];
    };
    [self.navigationController pushViewController:vc animated:YES];
    
}

@end
